FROM alpine-jdk8

WORKDIR /data
ENV LANG=C.UTF-8
ENV TZ=Asia/Shanghai
ENV SOURCE_TYPE=clickhouse
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime 

ADD amdb-app.jar application.yml ./amdb/
ENV MEMORY=512M

COPY entrypoint.sh /entrypoint.sh

ENTRYPOINT ["sh","/entrypoint.sh"]

EXPOSE 10032
